home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3pyrami.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.0 KB  |  126 lines

  1.  
  2. // JavaScript wrapper for r3pyrami.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_PYRAMI_H = 1;
  7. include("oops/r3vector.js")
  8. include("real/objects/r3prim.js")
  9.  
  10.  
  11. var R3CLID_PYRAMID = 155;
  12.  
  13.  
  14.  
  15.  
  16. R3PYRAA_P0 = 155501;
  17. function SetR3PYRAA_P0(value) {
  18.   R3Set(this.r3obj, R3PYRAA_P0, value, R3TID_VECTOR, 0); 
  19. }
  20.  
  21. function GetR3PYRAA_P0() {
  22.   return R3Get(this.r3obj, R3PYRAA_P0, R3TID_VECTOR, 0); 
  23. }
  24.  
  25. R3PYRAA_P1 = 155502;
  26. function SetR3PYRAA_P1(value) {
  27.   R3Set(this.r3obj, R3PYRAA_P1, value, R3TID_VECTOR, 0); 
  28. }
  29.  
  30. function GetR3PYRAA_P1() {
  31.   return R3Get(this.r3obj, R3PYRAA_P1, R3TID_VECTOR, 0); 
  32. }
  33.  
  34. R3PYRAA_P2 = 155503;
  35. function SetR3PYRAA_P2(value) {
  36.   R3Set(this.r3obj, R3PYRAA_P2, value, R3TID_VECTOR, 0); 
  37. }
  38.  
  39. function GetR3PYRAA_P2() {
  40.   return R3Get(this.r3obj, R3PYRAA_P2, R3TID_VECTOR, 0); 
  41. }
  42.  
  43. R3PYRAA_P3 = 155504;
  44. function SetR3PYRAA_P3(value) {
  45.   R3Set(this.r3obj, R3PYRAA_P3, value, R3TID_VECTOR, 0); 
  46. }
  47.  
  48. function GetR3PYRAA_P3() {
  49.   return R3Get(this.r3obj, R3PYRAA_P3, R3TID_VECTOR, 0); 
  50. }
  51.  
  52. R3PYRAA_Width = 155505;
  53. function SetR3PYRAA_Width(value) {
  54.   R3Set(this.r3obj, R3PYRAA_Width, value, R3TID_FLOAT, 0); 
  55. }
  56.  
  57. function GetR3PYRAA_Width() {
  58.   return R3Get(this.r3obj, R3PYRAA_Width, R3TID_FLOAT, 0); 
  59. }
  60.  
  61. R3PYRAA_Height = 155506;
  62. function SetR3PYRAA_Height(value) {
  63.   R3Set(this.r3obj, R3PYRAA_Height, value, R3TID_FLOAT, 0); 
  64. }
  65.  
  66. function GetR3PYRAA_Height() {
  67.   return R3Get(this.r3obj, R3PYRAA_Height, R3TID_FLOAT, 0); 
  68. }
  69.  
  70. R3PYRAA_Depth = 155507;
  71. function SetR3PYRAA_Depth(value) {
  72.   R3Set(this.r3obj, R3PYRAA_Depth, value, R3TID_FLOAT, 0); 
  73. }
  74.  
  75. function GetR3PYRAA_Depth() {
  76.   return R3Get(this.r3obj, R3PYRAA_Depth, R3TID_FLOAT, 0); 
  77. }
  78.  
  79. R3PYRAA_NoFloor = 155508;
  80. function SetR3PYRAA_NoFloor(value) {
  81.   R3Set(this.r3obj, R3PYRAA_NoFloor, value, R3TID_INTEGER, 0); 
  82. }
  83.  
  84. function GetR3PYRAA_NoFloor() {
  85.   return R3Get(this.r3obj, R3PYRAA_NoFloor, R3TID_INTEGER, 0); 
  86. }
  87.  
  88. R3PYRAA_Infinite = 155509;
  89. function SetR3PYRAA_Infinite(value) {
  90.   R3Set(this.r3obj, R3PYRAA_Infinite, value, R3TID_INTEGER, 0); 
  91. }
  92.  
  93. function GetR3PYRAA_Infinite() {
  94.   return R3Get(this.r3obj, R3PYRAA_Infinite, R3TID_INTEGER, 0); 
  95. }
  96.  
  97.  
  98.  
  99. function r3Pyramid () { 
  100.    this.base = r3God;
  101.    if(arguments.length) {
  102.       this.base(R3CLID_PYRAMID, arguments);
  103.    }
  104.    // Attributes
  105.    this.GetP0=GetR3PYRAA_P0;
  106.    this.SetP0=SetR3PYRAA_P0;
  107.    this.GetP1=GetR3PYRAA_P1;
  108.    this.SetP1=SetR3PYRAA_P1;
  109.    this.GetP2=GetR3PYRAA_P2;
  110.    this.SetP2=SetR3PYRAA_P2;
  111.    this.GetP3=GetR3PYRAA_P3;
  112.    this.SetP3=SetR3PYRAA_P3;
  113.    this.GetWidth=GetR3PYRAA_Width;
  114.    this.SetWidth=SetR3PYRAA_Width;
  115.    this.GetHeight=GetR3PYRAA_Height;
  116.    this.SetHeight=SetR3PYRAA_Height;
  117.    this.GetDepth=GetR3PYRAA_Depth;
  118.    this.SetDepth=SetR3PYRAA_Depth;
  119.    this.GetNoFloor=GetR3PYRAA_NoFloor;
  120.    this.SetNoFloor=SetR3PYRAA_NoFloor;
  121.    this.GetInfinite=GetR3PYRAA_Infinite;
  122.    this.SetInfinite=SetR3PYRAA_Infinite;
  123. }
  124.  
  125. r3Pyramid.prototype=new r3Primitive;
  126. // r3pyrami.h_H